package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摸金记录对象 sjz_touch_record
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class SjzTouchRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 设备信息 */
    @Excel(name = "设备信息")
    private String userAgent;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ipAddress;

    /** 物品ids */
    @Excel(name = "物品ids")
    private String matIds;

    /** 物品名称s */
    @Excel(name = "物品名称s")
    private String matNames;

    public SjzTouchRecord(){}

    public SjzTouchRecord(String userAgent, String ipAddress, String matIds, String matNames){
        this.userAgent = userAgent;
        this.ipAddress = ipAddress;
        this.matIds = matIds;
        this.matNames = matNames;
    }

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setUserAgent(String userAgent) 
    {
        this.userAgent = userAgent;
    }

    public String getUserAgent() 
    {
        return userAgent;
    }

    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }

    public void setMatIds(String matIds) 
    {
        this.matIds = matIds;
    }

    public String getMatIds() 
    {
        return matIds;
    }

    public void setMatNames(String matNames) 
    {
        this.matNames = matNames;
    }

    public String getMatNames() 
    {
        return matNames;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userAgent", getUserAgent())
            .append("ipAddress", getIpAddress())
            .append("matIds", getMatIds())
            .append("createTime", getCreateTime())
            .append("matNames", getMatNames())
            .toString();
    }
}
